ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Bing Translator

by sys1yagi ST2

Bing Translator plugin for Sublime Text 2.

Details

  • 2013.02.12.05.55.01
  • github.​com
  • github.​com
  • 11 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 486
  • Win 334
  • Mac 92
  • Linux 60
May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeBingTranslator

Bing Translator plugin for Sublime Text 2.

settings

Preference > Package Settings > SublimeBingTranslator > Settings - Default (or User)

{
    //Translator Language Codes
    //http://msdn.microsoft.com/en-us/library/hh456380.aspx
    "from" : "en",
    "to" : "ja"
}

edit to “from” or “to”

Below is a link to the language code.
http://msdn.microsoft.com/en-us/library/hh456380.aspx

translate selection

command+shift+m

Translate selection and display the results to a new file. (if already opened result view, adds the results.)

ex. settings: en -> it

Error: language “plain” is not supported
*translate*
------------------------
this is beutiful code!! 
- - - - - - - - - - - - 
Questo è il codice beutiful!! 
------------------------

translate selection(reverse)

command+shift+alt+m

Default Settings translate “From” -> “To”. this command translate “To” -> “From” .

ex. settings: en -> it

Error: language “plain” is not supported
*translate*
------------------------
Questo è il codice beutiful!!  
- - - - - - - - - - - - 
This is the code beutiful!!  
------------------------

If you use frequently…

Bing translator can translate characters has limited.
if you use frequently, recommend publishing API keys.

Windows Azure Marketplace -Registering your application-
https://datamarket.azure.com/developer/applications/register

after published API keys. edit “SublimeBingTranslator.py”

class BingTranslatorSettings:
     ~~ ~~ ~~
    client_id = (new client id)
    client_secret = (new client secret)
     ~~ ~~ ~~
     ...